<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<!-- saved from url=(0026)http://wenda.wecenter.com/ -->
<html class=""><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" name="viewport">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1">
    <meta name="renderer" content="webkit">
    <title>学思问答社区</title>
    <meta name="keywords" content="">
    <meta name="description" content="">
    <!--<base href="http://wenda.wecenter.com/">--><base href="."><!--[if IE]></base><![endif]-->
    <link href="" rel="shortcut icon" type="image/x-icon">

    <link rel="stylesheet" type="text/css" href="/wd/Public/Css/bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="/wd/Public/Css/icon.css" />
    <link rel="stylesheet" type="text/css" href="/wd/Public/Css/common.css" />
    <link rel="stylesheet" type="text/css" href="/wd/Public/Css/link.css" />
    <link rel="stylesheet" type="text/css" href="/wd/Public/Css/style.css" />

    <script type="text/javascript">
        var _12A3A3BB0FDD5081012D9CA4191A17F3="";
        var G_POST_HASH=_12A3A3BB0FDD5081012D9CA4191A17F3;
        var G_INDEX_SCRIPT = "";
        var G_SITE_NAME = "WeCenter 社交化问答社区程序";
        var G_BASE_URL = "http://wenda.wecenter.com";
        var G_STATIC_URL = "http://wenda.wecenter.com/static";
        var G_UPLOAD_URL = "http://wenda.wecenter.com/uploads";
        var G_USER_ID = "";
        var G_USER_NAME = "";
        var G_UPLOAD_ENABLE = "N";
        var G_UNREAD_NOTIFICATION = 0;
        var G_NOTIFICATION_INTERVAL = 100000;
        var G_CAN_CREATE_TOPIC = "";
        var G_ADVANCED_EDITOR_ENABLE = "Y";

    </script>
    <script type="text/javascript" src="/wd/Public/Js/jquery-2.js"></script>
    <script type="text/javascript" src="/wd/Public/Js/jquery-form.js"></script>
    <script type="text/javascript" src="/wd/Public/Js/plug-in_module.js"></script>
    <script type="text/javascript" src="/wd/Public/Js/aws.js"></script>
    <script type="text/javascript" src="/wd/Public/Js/aws_template.js"></script>
    <script type="text/javascript" src="/wd/Public/Js/app.js"></script>
    <script type="text/javascript" src="/wd/Public/Js/h.js"></script>
    <script type="text/javascript" src="/wd/Public/Js/compatibility.js"></script>


    <!--[if lte IE 8]>
    <script type="text/javascript" src="http://wenda.wecenter.com/static/js/respond.js"></script>
    <![endif]-->
    <style type="text/css">.fancybox-margin{margin-right:17px;}</style></head>
<body>
<noscript unselectable="on" id="noscript">
    &lt;div class="aw-404 aw-404-wrap container"&gt;
    &lt;img src="http://wenda.wecenter.com/static/common/no-js.jpg"&gt;
    &lt;p&gt;你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!&lt;/p&gt;
    &lt;/div&gt;
</noscript>

<div class="aw-top-menu-wrap">
    <div class="container">
        <!-- logo -->
        <div class="aw-logo hidden-xs">
            <a href="<?php echo U('Index/Index/index');?>"><img src="/wd/Public/Images/logo.png" alt=""></a>
        </div>
        <!-- end logo -->
        <!-- 搜索框 -->
        <div class="aw-search-box  hidden-xs hidden-sm">
            <form class="navbar-search" action="<?php echo U('Index/Search/index');?>" id="global_search_form" method="get">
                <input class="form-control search-query" type="text" placeholder="搜索问题" autocomplete="off" name="keyword" id="aw-search-query">
                <span title="搜索" id="global_search_btns" onclick="$(&#39;#global_search_form&#39;).submit();"><i class="icon icon-search"></i></span>
                <div class="aw-dropdown">
                    <div class="mod-body">
                        <p class="title">输入关键词进行搜索</p>
                        <ul class="aw-dropdown-list collapse"></ul>
                        <p class="search"><span>搜索:</span><a onclick="$(&#39;#global_search_form&#39;).submit();"></a></p>
                    </div>
                    <?php if($_SESSION['uid']!= ''): ?><div class="mod-footer">
                            <a href="<?php echo U('Index/Question/index');?>" onclick="$(&#39;#header_publish&#39;).click();" class="pull-right btn btn-mini btn-success publish">发起问题</a>
                        </div><?php endif; ?>
                </div>
            </form>
        </div>
        <!-- end 搜索框 -->
        <!-- 导航 -->
        <div class="aw-top-nav navbar">
            <div class="navbar-header">
                <button class="navbar-toggle pull-left">
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                    <span class="icon-bar"></span>
                </button>
            </div>
            <nav role="navigation" class="collapse navbar-collapse bs-navbar-collapse">
                <ul class="nav navbar-nav">
                    <!--<li><a href="<?php echo U('Index/Index/index');?>" class="active"><i class="icon icon-list"></i> 发现</a></li>-->

                    <!-- <li><a href="http://wenda.wecenter.com/question/" class="">问题</a></li>

                    <li><a href="http://wenda.wecenter.com/article/" class="">文章</a></li> -->

                    <!--<li><a href=""><i class="icon icon-topic"></i> 话题</a></li>-->
                    <!--<li><a href="/"><i class="icon icon-bulb"></i> 帮助</a></li>-->
                    <!--<li>-->
                        <!--<a style="font-weight:bold;">· · ·</a>-->
                        <!--<div class="dropdown-list pull-right">-->
                            <!--<ul id="extensions-nav-list">-->
                                <!--<li><a href="http://wenda.wecenter.com/project/"><i class="icon icon-activity"></i> 活动</a></li>-->
                            <!--</ul>-->
                        <!--</div>-->
                    <!--</li>-->
                </ul>
            </nav>
        </div>
        <!-- end 导航 -->
        <!-- 用户栏 -->
        <?php if($_SESSION['username']!= null): ?><!-- 用户栏 -->
            <div class="aw-user-nav">
                <!-- 登陆&注册栏 -->
                <a href="<?php echo U('Index/People/index',array('id'=>$_SESSION['uid']));?>" class="aw-user-nav-dropdown">
                    <img alt="" src="/wd<?php echo (session('face_url')); ?>">
                    <!--<span class="badge badge-important">1</span>-->

                </a>

                <div class="aw-dropdown dropdown-list pull-right">
                    <ul class="aw-dropdown-list">
                        <!--<li><a href="<?php echo U('Index/People/index');?>"><i class="icon icon-inbox"></i> 私信<span class="badge badge-important collapse" id="inbox_unread">1</span></a></li>-->

                        <li class="hidden-xs"><a href="<?php echo U('Index/Profile/index');?>"><i class="icon icon-setting"></i> 设置</a></li>
                        <?php if($_SESSION['gid']== 1): ?><li class="hidden-xs"><a href="<?php echo U('Admin/Index/index');?>" target="_blank" ><i class="icon icon-setting"></i> 后台管理</a></li><?php endif; ?>
                        <li><a href="<?php echo U('Index/Login/logout');?>"><i class="icon icon-logout"></i> 退出</a></li>
                    </ul>
                </div>
                <!-- end 登陆&注册栏 -->
            </div>
            <!-- end 用户栏 -->
            <!-- 发起 -->
            <div class="aw-publish-btn">

                <!--<a id="header_publish" class="btn-primary" href="http://wenda.wecenter.com/publish/" onclick="AWS.dialog(&#39;publish&#39;, {&#39;category_enable&#39;:&#39;0&#39;, &#39;category_id&#39;:&#39;0&#39;, &#39;topic_title&#39;:&#39;&#39;}); return false;">-->
                    <!--<i class="icon icon-ask"></i>发起-->
                <a id="header_publish" class="btn-primary" href="<?php echo U('Index/Question/index');?>" >
                        <i class="icon icon-ask"></i>发起
                </a>
                <div class="dropdown-list pull-right">
                    <ul>
                        <li>
                            <!--<form method="post" action="<?php echo U('Index/Question/index');?>">-->
                                <!--<a onclick="$(this).parents(&#39;form&#39;).submit();">问题</a>-->
                            <!--</form>-->
                            <a href="<?php echo U('Index/Question/index');?>">问题</a>
                        </li>
                    </ul>
                </div>
            </div><?php endif; ?>
        <?php if($_SESSION['username']!= null): ?><!-- end 发起 -->
            <?php else: ?>
            <div class="aw-user-nav">
                <!-- 登陆&注册栏 -->
                <a class="login btn btn-normal btn-primary" href="<?php echo U('Index/Login/index.html');?>">登录</a>
                <a class="register btn btn-normal btn-success"
                   href="<?php echo U('Index/Register/index');?>">注册</a>                                <!-- end 登陆&注册栏 -->
            </div><?php endif; ?>
        <!-- end 用户栏 -->
        <!-- 发起 -->
        <!-- end 发起 -->
    </div>
</div>
<link rel="stylesheet" type="text/css" href="/wd/Public/Css/user.css" />
<script type="text/javascript" src="/wd/Public/Js/people.js"></script>
<div class="aw-container-wrap">
    <div class="container">
        <div class="row">
            <div class="aw-content-wrap clearfix">
                <div class="col-sm-12 col-md-9 aw-main-content">
                    <!-- 用户数据内容 -->
                    <div class="aw-mod aw-user-detail-box">
                        <div class="mod-head">
                            <img src="/wd<?php echo ($userInfo['face_url']); ?>" alt="" style="width:100px;height:100px">
                            
                                <?php if($exist == 0): ?><span class="pull-right operate">
                                        <a href="<?php echo U('Index/Focus/attend',array('id'=>$userInfo['id']));?>" class="btn btn-mini btn-success"><span>关注</span> <em>|</em> <b><?php echo ($attend); ?></b></a>
                                    </span>
                                <?php elseif($exist == 1): ?>
                                    <span class="pull-right operate">
                                        <a href="<?php echo U('Index/Focus/attend',array('id'=>$userInfo['id']));?>" class="btn btn-mini btn-success"><span>已关注</span> <em>|</em> <b><?php echo ($attend); ?></b></a>
                                    </span>
                                <?php elseif($exist == 2): ?>
                                    <span class="pull-right operate">
                                        <a href="<?php echo U('Index/Login/index');?>" class="btn btn-mini btn-success"><span>关注</span> <em>|</em> <b><?php echo ($attend); ?></b></a>
                                    </span>
                                <?php else: endif; ?>
                          
                            <h1><?php echo ($userInfo['username']); ?></h1>
                            <p class="text-color-999"><?php echo ($userInfo['introduce']); ?></p>
                            <p class="aw-user-flag">
                                <span>
                                    <i class="icon icon-location"> <?php echo ($userInfo['province']); ?> <?php echo ($userInfo['city']); ?></i>
                                </span>
                                <!--<span>-->
                                    <!--<i class="icon icon-job"> </i>-->
                                <!--</span>-->
                            </p>
                        </div>
                        <!--<div class="mod-body">-->
                            <!--<div class="meta">-->
                                <!--<span><i class="icon icon-prestige"></i> 威望 : <em class="aw-text-color-green">0</em></span>-->
                                <!--<span><i class="icon icon-score"></i> 积分 : <em class="aw-text-color-orange">50</em></span>                                <span><i class="icon icon-agree"></i> 赞同 : <em class="aw-text-color-orange">0</em></span>-->
                                <!--<span><i class="icon icon-thank"></i> 感谢 : <em class="aw-text-color-orange">0</em></span>-->
                            <!--</div>-->

                        <!--</div>-->
                        <div class="mod-footer">
                            <ul class="nav nav-tabs aw-nav-tabs ">
                                <li class="active"><a href="http://wenda.wecenter.com/#overview" id="page_overview" data-toggle="tab">概述</a></li>
                                <li class=""><a href="http://wenda.wecenter.com/#questions" id="page_questions" data-toggle="tab">发问<span class="badge"><?php echo ($questionCount); ?></span></a></li>
                                <li class=""><a href="http://wenda.wecenter.com/#answers" id="page_answers" data-toggle="tab">回复<span class="badge"><?php echo ($answerCount); ?></span></a></li>
                                <!--<li class=""><a href="http://wenda.wecenter.com/#articles" id="page_articles" data-toggle="tab">文章<span class="badge">0</span></a></li>-->
                                <li class=""><a href="http://wenda.wecenter.com/#focus" id="page_focus" data-toggle="tab">关注</a></li>
                                <li class=""><a href="http://wenda.wecenter.com/#actions" id="page_actions" data-toggle="tab">动态</a></li>
                                <li class=""><a href="http://wenda.wecenter.com/#detail" id="page_detail" data-toggle="tab">详细资料</a></li>
                                <!--<li class=""><a href="http://wenda.wecenter.com/#integral" id="page_integral" data-toggle="tab">我的积分</a></li>-->
                            </ul>
                        </div>
                    </div>
                    <!-- end 用户数据内容 -->

                    <div class="aw-user-center-tab">
                        <div class="tab-content">
                            <div class="tab-pane active" id="overview">
                                <!-- 回复 -->
                                <div class="aw-mod">
                                    <div class="mod-head">
                                        <h3><a class="pull-right aw-more-content" href="javascript:;" onclick="$(&#39;#page_answers&#39;).click();">更多 »</a>回复</h3>
                                    </div>
                                    <div class="mod-body">
                                        <div class="aw-profile-answer-list">
                                            <?php if($answerCount != 0): if(is_array($answerData)): foreach($answerData as $key=>$v): ?><div class="aw-item">
                                                        <div class="mod-head">
                                                            <h4><a href="<?php echo U('Index/Question/show',array('id'=>$v['id']));?>"><?php echo ($v['title']); ?></a></h4>
                                                        </div>
                                                        <div class="mod-body">
                                                            <!--<span class="aw-border-radius-5 count pull-left"><i class="icon icon-agree"></i>2</span>-->
                                                            <p class="aw-hide-txt"><?php echo ($v['content']); ?></p>
                                                        </div>
                                                    </div><?php endforeach; endif; ?>
                                            <?php else: ?>
                                                <p class="padding10 text-center">没有内容</p><?php endif; ?>
                                        </div>
                                    </div>
                                </div>
                                <!-- end 回复 -->

                                <!-- 发问 -->
                                <div class="aw-mod">
                                    <div class="mod-head">
                                        <h3><a class="pull-right aw-more-content" href="javascript:;" onclick="$(&#39;#page_questions&#39;).click();">更多 »</a>发问</h3>
                                    </div>
                                    <div class="mod-body">
                                        <div class="aw-profile-publish-list">
                                            <?php if($questionCount != 0): if(is_array($questionData)): foreach($questionData as $key=>$v): ?><div class="aw-item">
                                                        <div class="mod-head">
                                                            <h4><a href="<?php echo U('Index/Question/show',array('id'=>$v['id']));?>"><?php echo ($v['title']); ?></a></h4>
                                                        </div>
                                                        <div class="mod-body">
                                                            <!--<span class="aw-border-radius-5 count pull-left"><i class="icon icon-reply"></i>3</span>-->
                                                            <p class="aw-hide-txt"><?php echo ($v['views']); ?> 次浏览 &nbsp;• <?php echo ($v['attention']); ?> 个关注 &nbsp; • <?php echo (date('Y-m-d H:i:s',$v['create_time'])); ?></p>
                                                        </div>
                                                    </div><?php endforeach; endif; ?>
                                            <?php else: ?>
                                                <p class="padding10 text-center">没有内容</p><?php endif; ?>
                                        </div>
                                    </div>
                                </div>
                                <!-- end 发问 -->

                                <!-- 最新动态 -->
                                <div class="aw-mod">
                                    <div class="mod-head">
                                        <h3><a class="pull-right aw-more-content" href="javascript:;" onclick="$('#page_actions').click();">更多 »</a>动态</h3>
                                    </div>
                                    <div class="mod-body">
                                        <ul>
                                            <?php if($dynamicCount != 0): if(is_array($dynamicData)): foreach($dynamicData as $key=>$v): ?><li>
                                                    <p>
                                                        <span class="pull-right text-color-999"><?php echo (date('Y-m-d H:i:s',$v['create_time'])); ?></span>
                                                        <em class="pull-left"><a href="<?php echo U('Index/People/index',array('id'=>$v['id']));?>" class="aw-user-name" data-id="10"><?php echo ($v['username']); ?></a> 回答了问题,</em>
                                                        <a class="aw-hide-txt" href="<?php echo U('Index/Question/show',array('id'=>$v['qid']));?>"><?php echo ($v['title']); ?></a>
                                                    </p>
                                                </li><?php endforeach; endif; ?>
                                            <?php else: ?>
                                                <p class="padding10 text-center">没有内容</p><?php endif; ?>
                                        </ul>
                                    </div>
                                </div>

                            </div>
                            <div class="tab-pane" id="questions">
                                <div class="aw-mod">
                                    <div class="mod-head">
                                        <h3>发问</h3>
                                    </div>
                                    <div class="mod-body">
                                        <div class="aw-profile-publish-list">
                                            <?php if($questionCount != 0): if(is_array($moreQuestion)): foreach($moreQuestion as $key=>$v): ?><div class="aw-item">
                                                        <div class="mod-head">
                                                            <h4><a href="<?php echo U('Index/Question/show',array('id'=>$v['id']));?>"><?php echo ($v['title']); ?></a></h4>
                                                        </div>
                                                        <div class="mod-body">
                                                            <!--<span class="aw-border-radius-5 count pull-left"><i class="icon icon-reply"></i>3</span>-->
                                                            <p class="aw-hide-txt"><?php echo ($v['views']); ?> 次浏览 &nbsp;• <?php echo ($v['attention']); ?> 个关注 &nbsp; • <?php echo (date('Y-m-d H:i:s',$v['create_time'])); ?></p>
                                                        </div>
                                                    </div><?php endforeach; endif; ?>
                                            <?php else: ?>
                                                <p class="padding10 text-center">没有内容</p><?php endif; ?>
                                        </div>
                                    </div>
                                    <!--<div class="mod-body">-->
                                        <!--<div class="aw-profile-publish-list" id="contents_user_actions_questions"><p style="padding: 15px 0" align="center">没有内容</p></div>-->
                                    <!--</div>-->
                                    <div class="mod-footer">
                                        <!-- 加载更多内容 -->
                                        <a class="aw-load-more-content disabled" id="bp_user_actions_questions_more" data-page="0"><span>没有更多了</span></a>
                                        <!-- end 加载更多内容 -->
                                    </div>
                                </div>
                            </div>
                            <div class="tab-pane" id="answers">
                                <div class="aw-mod">
                                    <div class="mod-head">
                                        <h3>回复</h3>
                                    </div>
                                    <div class="mod-body">
                                        <div class="aw-profile-answer-list">
                                            <?php if($answerCount != 0): if(is_array($moreAnswer)): foreach($moreAnswer as $key=>$v): ?><div class="aw-item">
                                                        <div class="mod-head">
                                                            <h4><a href="<?php echo U('Index/Question/show',array('id'=>$v['id']));?>"><?php echo ($v['title']); ?></a></h4>
                                                        </div>
                                                        <div class="mod-body">
                                                            <!--<span class="aw-border-radius-5 count pull-left"><i class="icon icon-agree"></i>0</span>-->
                                                            <p class="aw-hide-txt"><?php echo ($v['content']); ?></p>
                                                            <p class="aw-hide-txt"><?php echo (date('Y-m-d H:i:s',$v['create_time'])); ?></p>
                                                        </div>
                                                    </div><?php endforeach; endif; ?>
                                            <?php else: ?>
                                                <p class="padding10 text-center">没有内容</p><?php endif; ?>
                                        </div>
                                    </div>
                                    <!--<div class="mod-body">-->
                                        <!--<div class="aw-profile-answer-list" id="contents_user_actions_answers"><p style="padding: 15px 0" align="center">没有内容</p></div>-->
                                    <!--</div>-->
                                    <div class="mod-footer">
                                        <!-- 加载更多内容 -->
                                        <a class="aw-load-more-content disabled" id="bp_user_actions_answers_more" data-page="0">
                                            <span>没有更多了</span>
                                        </a>
                                        <!-- end 加载更多内容 -->
                                    </div>

                                </div>
                            </div>
                            <div class="tab-pane" id="articles">
                                <div class="aw-mod">
                                    <div class="mod-head">
                                        <h3>文章</h3>
                                    </div>
                                    <div class="mod-body">
                                        <div class="aw-profile-publish-list" id="contents_user_actions_articles"><p style="padding: 15px 0" align="center">没有内容</p></div>
                                    </div>
                                    <div class="mod-footer">
                                        <!-- 加载更多内容 -->
                                        <a class="aw-load-more-content disabled" id="bp_user_actions_articles_more" data-page="0">
                                            <span>没有更多了</span>
                                        </a>
                                        <!-- end 加载更多内容 -->
                                    </div>
                                </div>
                            </div>
                            <div class="tab-pane" id="focus">
                                <!-- 自定义切换 -->
                                <div class="aw-mod">
                                    <div class="aw-tabs text-center">
                                        <ul>
                                            <li class="active"><a>关注的人</a></li>
                                            <li><a>关注者</a></li>
                                            <li><a>关注的话题</a></li>
                                        </ul>
                                    </div>
                                    <div class="mod-body">
                                        <div class="aw-tab-content">
                                            <div class="aw-mod aw-user-center-follow-mod">
                                                <div class="mod-body">
                                                    <ul id="contents_user_follows" class="clearfix">
                                                        <?php if($attendCount != 0): if(is_array($attendTotal)): foreach($attendTotal as $key=>$v): ?><li>
                                                                <div class="mod-head">
                                                                    <a class="aw-user-img pull-left aw-border-radius-5" data-id="2" href="<?php echo U('Index/People/index',array('id'=>$v['aid']));?>">
                                                                        <img src="/wd<?php echo ($v['face_url']); ?>" alt="" style="width:50px;height: 50px ;">
                                                                    </a>
                                                                    <p><a href="<?php echo U('Index/People/index',array('id'=>$v['aid']));?>"><?php echo ($v['username']); ?></a></p>
                                                                </div>
                                                                <div class="mod-body">
                                                                    <p class="text-color-999 aw-hide-txt"><?php echo ($v['introduce']); ?></p>
                                                                </div>
                                                                <!--<div class="mod-footer meta">-->
                                                                    <!--<span><i class="icon icon-prestige"></i>威望 <em class="aw-text-color-green">2299</em></span>-->
                                                                    <!--<span><i class="icon icon-agree"></i>赞同 <em class="aw-text-color-orange">3444</em></span>-->
                                                                     <!--<span><i class="icon icon-thank"></i>感谢 <em class="aw-text-color-orange">1426</em></span> -->
                                                                <!--</div>-->
                                                            </li><?php endforeach; endif; ?>
                                                        <?php else: ?>
                                                            <p style="padding: 15px 0" align="center">哎，都不知道怎么说他好了，都不关心别人的</p><?php endif; ?>
                                                    </ul>
                                                </div>
                                                <div class="mod-footer">
                                                    <!-- 加载更多内容 -->
                                                    <!--<a class="aw-load-more-content" id="bp_user_follows_more" data-page="1">-->
                                                        <!--<span>更多</span>-->
                                                    <!--</a>-->
                                                    <a class="aw-load-more-content" id="bp_user_follows_more">
                                                        <span>更多</span>
                                                    </a>
                                                    <!-- end 加载更多内容 -->
                                                </div>
                                            </div>
                                            <div class="aw-mod aw-user-center-follow-mod collapse">
                                                <div class="mod-body">
                                                    <ul class="clearfix" id="contents_user_fans">
                                                        <?php if($beAttendedCount != 0): if(is_array($beAttendedTotal)): foreach($beAttendedTotal as $key=>$v): ?><li>
                                                                <div class="mod-head">
                                                                    <a class="aw-user-img pull-left aw-border-radius-5" data-id="2" href="<?php echo U('Index/People/index',array('id'=>$v['uid']));?>">
                                                                        <img src="/wd<?php echo ($v['face_url']); ?>" alt="" style="width:50px;height: 50px ;">
                                                                    </a>
                                                                    <p><a href="<?php echo U('Index/People/index',array('id'=>$v['uid']));?>"><?php echo ($v['username']); ?></a></p>
                                                                </div>
                                                                <div class="mod-body">
                                                                    <p class="text-color-999 aw-hide-txt"><?php echo ($v['introduce']); ?></p>
                                                                </div>
                                                                <!--<div class="mod-footer meta">-->
                                                                    <!--<span><i class="icon icon-prestige"></i>威望 <em class="aw-text-color-green">2299</em></span>-->
                                                                    <!--<span><i class="icon icon-agree"></i>赞同 <em class="aw-text-color-orange">3444</em></span>-->
                                                                    <!-- <span><i class="icon icon-thank"></i>感谢 <em class="aw-text-color-orange">1426</em></span> -->
                                                                <!--</div>-->
                                                            </li><?php endforeach; endif; ?>
                                                        <?php else: ?>
                                                            <p style="padding: 15px 0" align="center">哎，魅力太差了，一个粉丝都木有</p><?php endif; ?>

                                                    </ul>
                                                </div>
                                                <div class="mod-footer">
                                                    <!-- 加载更多内容 -->
                                                    <!--<a class="aw-load-more-content disabled" id="bp_user_fans_more" data-page="0">-->
                                                        <!--<span>没有更多了</span>-->
                                                    <!--</a>-->
                                                    <a class="aw-load-more-content" id="bp_user_fans_more">
                                                        <span>更多</span>
                                                    </a>
                                                    <!-- end 加载更多内容 -->
                                                </div>
                                            </div>
                                            <div class="aw-mod aw-user-center-follow-mod collapse">
                                                <div class="mod-body">
                                                    <ul id="contents_user_topics" class="clearfix">
                                                            <!--<div class="mod-body">-->
                                                                <!--<div class="aw-profile-publish-list">-->
                                                                <?php if($questionFocusnum != 0): if(is_array($questionTotal)): foreach($questionTotal as $key=>$v): ?><div class="aw-item">
                                                                            <div class="mod-head">
                                                                                <h4><a href="<?php echo U('Index/Question/show',array('id'=>$v['id']));?>"><?php echo ($v['title']); ?>
                                                                                </a></h4>
                                                                            </div>
                                                                            <div class="mod-body">
                                                                            <!--<span class="aw-border-radius-5 count pull-left"><i class="icon icon-reply"></i>3</span>-->
                                                                                <p class="aw-hide-txt"><?php echo ($v['views']); ?> 次浏览 &nbsp;• <?php echo ($v['attention']); ?> 个关注 &nbsp; • <?php echo (date('Y-m-d H:i:s',$v['create_time'])); ?></p>
                                                                            </div>
                                                                        </div><?php endforeach; endif; ?>
                                                                <!--</div>-->
                                                            <!--</div>-->
                                                                <?php else: ?>
                                                                    <p style="padding: 15px 0" align="center">暂未关注任何问题</p><?php endif; ?>
                                                    </ul>
                                                </div>
                                                <div class="mod-footer">
                                                    <!-- 加载更多内容 -->
                                                    <!--<a class="aw-load-more-content disabled" id="bp_user_topics_more" data-page="0">-->
                                                        <!--<span>没有更多了</span>-->
                                                    <!--</a>-->
                                                    <a class="aw-load-more-content" id="bp_user_topics_more">
                                                        <span>更多</span>
                                                    </a><!-- end 加载更多内容 -->
                                                </div>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                                <!-- end 自定义切换 -->
                            </div>
                            <div class="tab-pane" id="actions">
                                <div class="aw-mod">
                                    <div class="mod-head">
                                        <h3>最新动态</h3>
                                    </div>
                                    <div class="mod-body">
                                        <div id="contents_user_actions">
                                            <ul>
                                                <?php if($dynamicCount != 0): if(is_array($moreDynamic)): foreach($moreDynamic as $key=>$v): ?><li>
                                                            <p>
                                                                <span class="pull-right text-color-999"><?php echo (date('Y-m-d H:i:s',$v['create_time'])); ?></span>
                                                                <em class="pull-left"><a href="<?php echo U('Index/People/index',array('id'=>$v['id']));?>" class="aw-user-name" data-id="10"><?php echo ($v['username']); ?></a> 回答了问题,</em>
                                                                <a class="aw-hide-txt" href="<?php echo U('Index/Question/show',array('id'=>$v['qid']));?>"><?php echo ($v['title']); ?></a>
                                                            </p>
                                                        </li><?php endforeach; endif; ?>
                                                <?php else: ?>
                                                    <p class="padding10 text-center">没有内容</p><?php endif; ?>
                                            </ul>

                                        </div>
                                    </div>
                                    <div class="mod-footer">
                                        <!-- 加载更多内容 -->
                                        <a class="aw-load-more-content disabled" id="bp_user_actions_more" data-page="0">
                                            <span>没有更多了</span>
                                        </a>
                                        <!-- end 加载更多内容 -->
                                    </div>
                                </div>
                            </div>
                            <div class="tab-pane" id="detail">
                                <div class="aw-mod">
                                    <div class="mod-head">
                                        <h3>详细资料</h3>
                                    </div>
                                    <div class="mod-body aw-user-center-details">
                                        <!--<dl>-->
                                            <!--<dt><span>个人成就:</span></dt>-->
                                            <!--<dd>-->
                                                <!--<p class="meta">-->
                                                    <!--<span><i class="icon icon-prestige"></i>威望: <em class="aw-text-color-green">0</em></span>-->
                                                    <!--<span><i class="icon icon-score"></i>积分: <em class="aw-text-color-orange">50</em></span>-->
                                                    <!--<span><i class="icon icon-agree"></i>赞同: <em class="aw-text-color-orange">0</em></span>-->
                                                    <!--<span><i class="icon icon-thank"></i>感谢: <em class="aw-text-color-orange">0</em></span>-->
                                                <!--</p>-->
                                            <!--</dd>-->
                                        <!--</dl>-->
                                        <h5 style="color: #333">性别:&nbsp;<?php echo ($detail['sex']); ?></h5>
                                        <h5 style="color: #333">注册时间:&nbsp;<?php echo (date('Y-m-d',$detail['register_time'])); ?></h5>
                                        <h5 style="color: #333">最后活跃:&nbsp;<?php echo ($detail['logout_time']); ?></h5>


                                    </div>
                                </div>
                            </div>
                            <div class="tab-pane" id="integral">
                                <div class="aw-mod">
                                    <div class="mod-head">
                                        <h3><i class="icon icon-point"></i>我的积分</h3>
                                    </div>
                                    <div class="mod-body">
                                        <table class="table table-hover aw-table">
                                            <thead>
                                            <tr class="info">
                                                <th width="14%">时间</th>
                                                <th width="8%">数额</th>
                                                <th width="8%">余额</th>
                                                <th width="17%">描述</th>
                                                <th width="40%">相关信息</th>
                                            </tr>
                                            </thead>
                                            <tbody id="contents_user_integral"><tr>
                                                <td>2 天前</td>
                                                <td><span class="aw-text-color-orange">50</span></td>
                                                <td>50</td>
                                                <td>初始资本</td>
                                                <td><p> - </p></td>
                                            </tr>
                                            </tbody>
                                        </table>
                                    </div>
                                    <div class="mod-footer">
                                        <!-- 加载更多内容 -->
                                        <a class="aw-load-more-content" id="bp_user_integral" data-page="1">
                                            <span>更多</span>
                                        </a>
                                        <!-- end 加载更多内容 -->
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- 侧边栏 -->
                <div class="col-sm-12 col-md-3 aw-side-bar">
                    <div class="aw-mod people-following">
                        <div class="mod-body">
                            <a onclick="$(&#39;#page_focus&#39;).click();$(&#39;#focus .aw-tabs ul li&#39;).eq(0).click();$.scrollTo($(&#39;#focus&#39;).offset()[&#39;top&#39;], 600, {queue:true})" class="pull-right font-size-12">更多 »</a>
                            <span>关注 <em class="aw-text-color-blue"><?php echo ($attendCount); ?></em> 人</span>
                            <p>
                                <?php if(is_array($attendData)): foreach($attendData as $key=>$v): ?><a class="aw-user-name" data-id="2" href="<?php echo U('Index/People/index',array('id'=>$v['aid']));?>"><img src="/wd<?php echo ($v['face_url']); ?>" alt=""></a><?php endforeach; endif; ?>
                            </p>
                        </div>
                    </div>
                    <div class="aw-mod people-following">
                        <div class="mod-body">
                            <a onclick="$(&#39;#page_focus&#39;).click();$(&#39;#focus .aw-tabs ul li&#39;).eq(1).click();$.scrollTo($(&#39;#focus&#39;).offset()[&#39;top&#39;], 600, {queue:true})" class="pull-right font-size-12">更多 »</a>
                            <span>被 <em class="aw-text-color-blue"><?php echo ($beAttendedCount); ?></em> 人关注</span>
                            <p>
                                <?php if(is_array($beAttended)): foreach($beAttended as $key=>$v): ?><a class="aw-user-name" data-id="2" href="<?php echo U('Index/People/index',array('id'=>$v['uid']));?>"><img src="/wd<?php echo ($v['face_url']); ?>" alt=""></a><?php endforeach; endif; ?>
                            </p>
                        </div>

                    </div>
                    <div class="aw-mod people-following">
                            <a onclick="$(&#39;#page_focus&#39;).click();$(&#39;#focus .aw-tabs ul li&#39;).eq(2).click();$.scrollTo($(&#39;#focus&#39;).offset()[&#39;top&#39;], 600, {queue:true})" class="pull-right font-size-12">更多 »</a>
                        <div class="mod-body">关注<em class="aw-text-color-blue"> <?php echo ($questionNum['num']); ?> </em>话题</div>
                        <div class="mod-body font-size-12">
                            <ul>
                                <?php if(is_array($questionFocus)): foreach($questionFocus as $key=>$v): ?><li><a href="<?php echo U('Index/Question/show',array('id'=>$v['id']));?>"><?php echo ($v['title']); ?></a></li><?php endforeach; endif; ?>
                            </ul>
                        </div>
                    </div>
                    <div class="aw-mod">
                        <div class="mod-body">
                            <span class="aw-text-color-666">主页访问量 : <?php echo ($userInfo['views']); ?> 次访问</span>
                        </div>
                    </div>
                </div>
                <!-- end 侧边栏 -->
            </div>
        </div>
    </div>
</div>

<script type="text/javascript">
    var PEOPLE_USER_ID = '23020';

    var ACTIVITY_ACTIONS = '101,201,105,204,401,406,501,502,503';
</script>


<div class="aw-footer-wrap">
    <div class="aw-footer">
        Copyright © 2016<span class="hidden-xs"> - 粤ICP备0000000, All Rights Reserved</span>

        <span class="hidden-xs">Powered By 郑荣佳</span>

    </div>
</div>

<a class="aw-back-top hidden-xs" href="javascript:;" onclick="$.scrollTo(1, 600, {queue:true});" style="display: none;"><i class="icon icon-up"></i></a>

<script type="text/javascript">
    var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
    document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F6d30c149d6f00fa3f34dc482f264a080' type='text/javascript'%3E%3C/script%3E"));


    <!-- DO NOT REMOVE -->
    <div id="aw-ajax-box" class="aw-ajax-box"></div>

        <div style="display:none;" id="__crond"><img src="./images/1452938032" width="1" height="1"></div>

            <!-- Escape time: 0.067939043045044 --><!-- / DO NOT REMOVE -->



        </body></html>